import {defineStore} from "pinia";

export const useSystemSettingStore = defineStore('systemSetting', {
    state:() => ({
        leftSidebar: {
            leftWidth: 186
        },
        ui: {
            primaryColor: "#00b96b",
            borderRadius: '0px'
        }
    }),
    actions: {
        // 修改边栏的宽度
        setLeftWidth(width) {
            this.leftSidebar.leftWidth = width
        }
    }
})